<template>
  <div>
      <!-- 文章列表 -->
<ArticalItem v-for="obj in list" :key="obj.art_id" :artObj='obj' @removeArt='removeFn'></ArticalItem>
  </div>
</template>

<script>
import ArticalItem from './AticalItem'
export default {
  props: {
    list: Array
  },
  components: {
    ArticalItem
  },
  methods: {
    removeFn (art_id, type) { // 删除文章
      this.$emit('removeArt', art_id, type)
    }
  }
}
</script>

<style>

</style>
